Release 10.1A: OpenEdge Data Management:
SQL Reference
ASCII
Returns the
ASCIIvalue of the first character of the given character expression.Syntax
Example
The following example shows how to use the
ASCIIfunction:
Notes
- The argument to the function must be of type
CHARACTER.- The result is of type
INTEGER.- If the argument
char_expressionevaluates toNULL, the result isNULL.- The
ASCIIfunction is character-set dependent and supports multi-byte characters. The function returns the character encoding integer value of the first character ofchar_expressionin the current character set. Ifchar_expressionis a literal string, the result is determined by the character set of the SQL client. Ifchar_expressionis a column in the database, the character set of the database determines the result.Compatibility
ODBC compatible
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |